package bing.search.common;

import java.io.Serializable;

public class ClusterNode implements Serializable {

	private static final long serialVersionUID = 1L;
	public static String DATA_NODE="data node";
	public static String ADMIN_NODE="admin node";
	
	private String name;
	private String hostName;
	private String address;
	private String role;

	public ClusterNode() {
		this.name = null;
		this.hostName = null;
		this.address = null;
		this.role = null;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getHostName() {
		return hostName;
	}

	public void setHostName(String hostName) {
		this.hostName = hostName;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getRole() {
		return role;
	}

	public void setRole(String role) {
		this.role = role;
	}
}
